package com.hisysteTopet.hisystepet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hisysteTopet.hisystepet.bean.Pet;

import java.util.List;

public interface PetService extends IService<Pet> {
    public List<Pet> findAll();

    public  void updateToPetNum(Integer petNumber,Integer petId);

    public Pet selectToPetId(Integer petId);

    public void updatePetMessage(Pet pet);

    public void deletePetMessageById(String petId);

    public  void updateToPetNumByAdmin(Integer petNumber,Integer petId);

    public  void insertPet(String petName,String variety,String url,
                           String introduce,Integer price,Integer num);

}
